package cc.geguol.scm.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import cc.geguol.scm.entity.Supplier;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SupplierDao {
    int insert(@Param("pojo") Supplier pojo);

    int insertSelective(@Param("pojo") Supplier pojo);

    int insertList(@Param("pojos") List<Supplier> pojo);

    int update(@Param("pojo") Supplier pojo);

    Supplier selectSupplier(Integer supId);
}
